package com.youlu.campus.admin.vote.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author : [dengbo]
 * @className : OrgTypeSaveDTO
 * @description : [组织类型保存]
 * @createTime : [2022/7/4 10:01]
 */
@Data
public class OrgTypeSaveDTO {
    private String id;
    @NotBlank(message = "组织类型名称不能为空")
    private String name;
    @NotNull(message = "组织类型分类不能为空")
    private Integer orgType;
    private String imageUrl;
    private String description;
}
